package com.janko.springbootbase.designmode.singleton;

/**
 * @Description 类文件说明
 * @Author nieyankang
 * @Version 1.0
 * @date 2020-12-29 23:18:16
 */
public enum Singleton5Enum {
    INSTANCE;
    public void m(){}

    public static void main(String[] args) {
        for (int i = 0; i < 100; i++) {
            new Thread(()->{
                System.out.println(Singleton5Enum.INSTANCE.hashCode());
            }).start();
        }
    }
}
